package com.rf.richfitwheel.admin.iam.model;

import java.util.List;

public class PortalUser {
    private String id;

    private String userId;

    private String displayName;

    private Integer identityType;

    private Integer sex;

    private String userName;

    private String idNumber;

    private String userType;

    private String email;

    private String mobile;

    private String groupCode;

    private String employeeNumber;

    private String telephone;

    private String jobLevel;

    private Integer syncStatus;

    private Integer authStatus;

    private Long syncTime;

    private Long myTime;
    
    private List<PortalUserOrg> userJobList;
    
    public PortalUser(String id, String userId, String displayName, Integer identityType, Integer sex, String userName, String idNumber, String userType, String email, String mobile, String groupCode, String employeeNumber, String telephone, String jobLevel, Integer syncStatus, Integer authStatus, Long syncTime, Long myTime){
        this.id = id;
        this.userId = userId;
        this.displayName = displayName;
        this.identityType = identityType;
        this.sex = sex;
        this.userName = userName;
        this.idNumber = idNumber;
        this.userType = userType;
        this.email = email;
        this.mobile = mobile;
        this.groupCode = groupCode;
        this.employeeNumber = employeeNumber;
        this.telephone = telephone;
        this.jobLevel = jobLevel;
        this.syncStatus = syncStatus;
        this.authStatus = authStatus;
        this.syncTime = syncTime;
        this.myTime = myTime;
    }
    
    public PortalUser(String id, String userId, String displayName, Integer identityType, Integer sex, String userName, String idNumber, String userType, String email, String mobile, String groupCode, String employeeNumber, String telephone, String jobLevel, Integer syncStatus, Integer authStatus, Long syncTime, Long myTime, List<PortalUserOrg> userJobList){
        this.id = id;
        this.userId = userId;
        this.displayName = displayName;
        this.identityType = identityType;
        this.sex = sex;
        this.userName = userName;
        this.idNumber = idNumber;
        this.userType = userType;
        this.email = email;
        this.mobile = mobile;
        this.groupCode = groupCode;
        this.employeeNumber = employeeNumber;
        this.telephone = telephone;
        this.jobLevel = jobLevel;
        this.syncStatus = syncStatus;
        this.authStatus = authStatus;
        this.syncTime = syncTime;
        this.myTime = myTime;
        this.userJobList = userJobList;
    }
    
    public PortalUser() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName == null ? null : displayName.trim();
    }

    public Integer getIdentityType() {
        return identityType;
    }

    public void setIdentityType(Integer identityType) {
        this.identityType = identityType;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber == null ? null : idNumber.trim();
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType == null ? null : userType.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode == null ? null : groupCode.trim();
    }

    public String getEmployeeNumber() {
        return employeeNumber;
    }

    public void setEmployeeNumber(String employeeNumber) {
        this.employeeNumber = employeeNumber == null ? null : employeeNumber.trim();
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getJobLevel() {
        return jobLevel;
    }

    public void setJobLevel(String jobLevel) {
        this.jobLevel = jobLevel == null ? null : jobLevel.trim();
    }

    public Integer getSyncStatus() {
        return syncStatus;
    }

    public void setSyncStatus(Integer syncStatus) {
        this.syncStatus = syncStatus;
    }

    public Integer getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(Integer authStatus) {
        this.authStatus = authStatus;
    }

    public Long getSyncTime() {
        return syncTime;
    }

    public void setSyncTime(Long syncTime) {
        this.syncTime = syncTime;
    }

    public Long getMyTime() {
        return myTime;
    }

    public void setMyTime(Long myTime) {
        this.myTime = myTime;
    }
    
    public List<PortalUserOrg> getUserJobList(){
        return userJobList;
    }
    
    public void setUserJobList(List<PortalUserOrg> userJobList){
        this.userJobList = userJobList;
    }
    
    @Override
    public String toString(){
        return "PortalUser{" +
                "id='" + id + '\'' +
                ", userId='" + userId + '\'' +
                ", displayName='" + displayName + '\'' +
                ", identityType=" + identityType +
                ", sex=" + sex +
                ", userName='" + userName + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", userType='" + userType + '\'' +
                ", email='" + email + '\'' +
                ", mobile='" + mobile + '\'' +
                ", groupCode='" + groupCode + '\'' +
                ", employeeNumber='" + employeeNumber + '\'' +
                ", telephone='" + telephone + '\'' +
                ", jobLevel='" + jobLevel + '\'' +
                ", syncStatus=" + syncStatus +
                ", authStatus=" + authStatus +
                ", syncTime=" + syncTime +
                ", myTime=" + myTime +
                '}';
    }
}